<!DOCTYPE HTML>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../css/style.css" media="all">
    <link rel="stylesheet" type="text/css" href="../css/common.css" media="all">
    <link rel="stylesheet" type="text/css" href="../css/009-ie7hvMiddle.css" media="all">

    <style type="text/css">
        .testWrap {
            border: 1px solid #f00;
            width: 360px;
            height: 400px;
        }
        .ie7-dibSp{
            border: 1px solid #f00;
        }
    </style>


</head>
<body>
<div class="m0a wrap2">
    <h1 class="title">图片垂直居中，淘宝方法：font-size:1.14倍</h1>
    <span class="description">

    </span>
    <div class="testWrap ie7hvMiddle" id="box">
        <span class="ie7-dibSp">
            <img class="ie7-dib" src="../images/baidu_sylogo1.gif" alt="">
        </span>
    </div>
    <div class="testWrap ie7hvMiddle" id="box2">
        <div class="ie7-dibSp"><div class="ie7-dib">
            <p>Just a test</p>
            <p>Just a test</p>
            <p>Just a test</p>
            <p>Just a test</p>
            <p>Just a test</p>
            <p>Just a test</p>
            <p>Just a test</p>
        </div></div>
    </div>

</div>
</body>
</html>